import { ref, reactive } from 'vue'

export default function () {
  const tableColumns = [
    {
      label: '菜单名称',
      prop: 'name'
    },
    {
      label: '组件地址',
      prop: 'component'
    },
    {
      label: '路由地址',
      prop: 'path'
    },
    {
      label: '创建时间',
      prop: 'createdAt',
      time: true
    },
    {
      label: '更新时间',
      prop: 'updateAt',
      time: true
    }
  ]
  const tableData = ref()
  const tableOptions = {}
  return {
    tableColumns, tableData, tableOptions
  }
}
